package com.settlement.system.model.entity.common;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.alibaba.excel.annotation.write.style.HeadStyle;
import com.settlement.system.converter.DateFormatConvert;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
/**
 * 订单稽核单据缓存表
 * @author 小船
 * @since 2020-10-21
 */
@Data
@ExcelIgnoreUnannotated
@HeadStyle(fillBackgroundColor = 9,fillForegroundColor = 9)
@HeadRowHeight(value = 20)
@HeadFontStyle(fontHeightInPoints = 14)
public class TblOrderAuditBillCache extends BaseModel implements Serializable {


    /**
     * 业务日期
     */
    @ExcelProperty(value = "业务日期",converter = DateFormatConvert.class)
    @ApiModelProperty(value = "业务日期")
    private Date businessDate;

    /**
     * 原始外部订单号
     */
    @ExcelProperty(value = "原始外部订单号")
    @ApiModelProperty(value = "原始外部订单号")
    private String spOrderNo;

    /**
     * 单据来源(1鞋-新业务非唯 2体育优购数据)
     */
    @ExcelProperty(value = "单据来源(1鞋-新业务非唯 2体育优购数据)")
    @ApiModelProperty(value = "单据来源(1鞋-新业务非唯 2体育优购数据)")
    private Integer billResource;

    /**
     * 推送状态(1未推送 2已推送)
     */
    @ExcelProperty(value = "推送状态(1未推送 2已推送)")
    @ApiModelProperty(value = "推送状态(1未推送 2已推送)")
    private Integer pushStatus;

    /**
     * 结束方式(1未结束 2系统结束 3 人工结束)
     */
    @ExcelProperty(value = "结束方式(1未结束 2系统结束 3 人工结束)")
    @ApiModelProperty(value = "结束方式(1未结束 2系统结束 3 人工结束)")
    private Integer endMethod;

    /**
     * 单据编码
     */
    @ExcelProperty(value = "单据编码")
    @ApiModelProperty(value = "单据编码")
    private String billNo;
}
